const arr: string[] = ['1', '2'] //常用
const arr1: Array<string> = ['1', '2'] //不常用
interface Iarr {
  [index: number]: string
}
const arr2: Iarr = ['1', '2'] //不常用
// arr.push(1)

interface Iitem {
  name: string
  age: number
  info: string
}
// 描述一个存储对象的数组
const result: Iitem[] = [
  {
    name: 'zs',
    age: 18,
    info: '介绍',
  },
  {
    name: 'ls',
    age: 20,
    info: '介绍',
  },
]

// 伪数组

// function fn() {
//   let args: IArguments = arguments
// }

let test = document.querySelectorAll('.box')
